#ifndef _QUERY_VECTOR_H
#define _QUERY_VECTOR_H

#include <string>
#include <vector>

namespace jsearch
{
	class query_vector
	{
		public:
			explicit query_vector(std::tr1::shared_ptr<std::vector<std::string> >& svec);

			void query_build();

			double get_freq(std::string tm) const; 
			std::tr1::shared_ptr<std::vector<std::string> > get_terms();

		private:
			struct Impl;
			std::tr1::shared_ptr<Impl> pimpl;
	};

}
#endif
